package com.joe.gulishop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.joe.common.utils.PageUtils;
import com.joe.gulishop.product.entity.AttrGroupEntity;
import com.joe.gulishop.product.vo.AttrGroupRelationVo;
import com.joe.gulishop.product.vo.AttrGroupWithAttrVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author joe
 * @email joe@gmail.com
 * @date 2021-12-03 10:45:56
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long cateLogId);

    void removeRelation(AttrGroupRelationVo[] relationVos);

    List<AttrGroupWithAttrVo> getCatelogIdWithattr(@Param("catelogId") Long catelogId);

}

